
<div id="mydiv" >
<div class="signIn"> 
<?php 
$form=$this->beginWidget('CActiveForm', array(
'id'=>'login-form',
'htmlOptions'=>array('style'=>'margin-left: -7px;margin-top: -10px;','method'=>'post','action'=> ApplicationConfig::getURL('', 'site', 'login')),
));
?>    
<div class="basicHeading">Sign-in to your account</div>
<div class="signBorder"></div><br />
<div class="signinFields">
<div class="">Username : </div><br />
<div class="">Password :</div> 
</div>
<div class="">
<?php echo $form->textField($model,'username',array('value'=>"Email ID",'onClick'=>"if(this.value=='Email ID'){this.value=''}", 'onBlur'=>"if(this.value==''){this.value='Email ID'}")); ?>
<?php echo $form->error($model,'username'); ?>
</div><br />
<div class="">
 <?php echo $form->passwordField($model,'password',array('value'=>"Password", 'onClick'=>"if(this.value=='Password'){this.value=''}", 'onBlur'=>"if(this.value==''){this.value='Password'}")); ?>
<?php echo $form->error($model,'password'); ?>
</div>
<div class="remember"><input name="remember" type="checkbox" value="" /> Remember Me</div>
<div><input name="login" type="submit" value="Login" /></div>
<?php $this->endWidget(); ?>
</div>
<div class="signUp">
<div class="basicHeading">Sign-up now</div>
<div class="signBorder"></div><br />
<div>Join here and Share your Knowledge. Registered members get a chance to interact at Forum, Ask Query, Comment etc.</div><br />
<div><a href="<?php echo ApplicationConfig::getURL('user_register', 'user', 'create'); ?>" target="_parent"><input name="create" type="button" value="Create Account" /></a></div>
</div>
</div>